package com.saile.service;

import com.saile.domain.Media;
import com.saile.myRunTime.MyRunTimeExcption;

import java.util.List;
import java.util.Map;

/**
 * Created by Baggio on 2018-4-24.
 */
public interface MediaService {

    void modifyMedia(Media media) throws MyRunTimeExcption;
    void deleteMedia(Map<String,String> map) throws MyRunTimeExcption;

    List<Media> getMediaList(Map<String, String> map) throws MyRunTimeExcption;

    Media getMedia(Map<String, String> map) throws MyRunTimeExcption;
    List<Media> getGuessYouLike(Map<String,String> map) throws MyRunTimeExcption;
    List<Media> recommendVideo() throws MyRunTimeExcption;
}
